package com.example.demo.service;

import com.example.demo.entity.Scenery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SceneryService {
    public List<Scenery> getAll();

    public int addScenery(Scenery scenery);
    public int deleteScenery(Integer id);
    public int updateScenery(Scenery scenery);
    public Scenery findSceneryById(Integer id);
    public PageInfo<Scenery> find(String sceneryCity, String sceneryTitle, Double lowerPrice,Double HighPrice,int pageNo, int pageSize);
    //分页查询
    public PageInfo<Scenery> getPage(int pageNo, int pageSize);
}
